package com.foreknow.practice.impl.impl5;


/**
 * 设计一个类UseCompute，含有方法：
 */
public  class UseCompute {
    public  void useCom(int com, int one, int two){
        Compute compute = new Except();
        compute.computer(one,two);
        Compute compute1=new Plus();
        compute1.computer(one,two);
        Compute compute2=new Reduce();
        compute2.computer(one,two);
        Compute compute3 = new Ride();
        compute3.computer(one,two);

    }



}
